export default {
  gridRowActiveMode: 2,
  xdataControlName: 'grid',
  loadDefault: true,
  openMode: 'POPUPMODAL',
  deviewCodeName: 'all_log_grid_view',
  deviewId: '807718993bd61004425d82ea1844304c',
  accUserMode: 2,
  caption: '全部日志',
  codeName: 'psde_logic_all_log_grid_view',
  height: 70,
  appDataEntityId: 'web.psdelogic',
  viewLayoutPanel: {
    viewProxyMode: true,
    layoutMode: 'FLEX',
    layout: {
      layout: 'FLEX',
    },
    rootPanelItems: [
      {
        actionGroupExtractMode: 'ITEM',
        panelItems: [
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                actionGroupExtractMode: 'ITEM',
                panelItems: [
                  {
                    caption: '页面标题',
                    itemStyle: 'DEFAULT',
                    itemType: 'CTRLPOS',
                    layoutPos: {
                      shrink: 1,
                      layout: 'FLEX',
                    },
                    showCaption: true,
                    id: 'captionbar',
                  },
                ],
                layout: {
                  align: 'center',
                  layout: 'FLEX',
                },
                dataRegionType: 'INHERIT',
                caption: '容器',
                itemStyle: 'DEFAULT',
                itemType: 'CONTAINER',
                layoutPos: {
                  shrink: 1,
                  heightMode: 'FULL',
                  layout: 'FLEX',
                },
                id: 'view_captionbar',
              },
            ],
            layout: {
              layout: 'FLEX',
            },
            dataRegionType: 'INHERIT',
            caption: '容器',
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              shrink: 1,
              heightMode: 'FULL',
              layout: 'FLEX',
            },
            id: 'view_header_left',
          },
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                actionGroupExtractMode: 'ITEM',
                panelItems: [
                  {
                    caption: '工具栏',
                    itemStyle: 'DEFAULT',
                    itemType: 'CTRLPOS',
                    layoutPos: {
                      shrink: 1,
                      layout: 'FLEX',
                    },
                    showCaption: true,
                    id: 'toolbar',
                  },
                ],
                layout: {
                  align: 'center',
                  layout: 'FLEX',
                },
                dataRegionType: 'INHERIT',
                caption: '容器',
                itemStyle: 'DEFAULT',
                itemType: 'CONTAINER',
                layoutPos: {
                  shrink: 1,
                  heightMode: 'FULL',
                  layout: 'FLEX',
                },
                id: 'view_toolbar',
              },
            ],
            layout: {
              layout: 'FLEX',
            },
            dataRegionType: 'INHERIT',
            caption: '容器',
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              shrink: 1,
              heightMode: 'FULL',
              layout: 'FLEX',
            },
            id: 'view_header_right',
          },
        ],
        predefinedType: 'VIEWHEADER',
        layout: {
          align: 'space-between',
          dir: 'row',
          layout: 'FLEX',
          valign: 'center',
        },
        dataRegionType: 'INHERIT',
        caption: '容器',
        itemStyle: 'DEFAULT',
        itemType: 'CONTAINER',
        layoutPos: {
          shrink: 0,
          layout: 'FLEX',
        },
        id: 'view_header',
      },
      {
        actionGroupExtractMode: 'ITEM',
        panelItems: [
          {
            caption: '表格',
            itemStyle: 'DEFAULT',
            itemType: 'CTRLPOS',
            layoutPos: {
              grow: 1,
              shrink: 1,
              layout: 'FLEX',
            },
            showCaption: true,
            id: 'grid',
          },
        ],
        predefinedType: 'VIEWCONTENT',
        layout: {
          layout: 'FLEX',
        },
        dataRegionType: 'INHERIT',
        caption: '容器',
        itemStyle: 'DEFAULT',
        itemType: 'CONTAINER',
        layoutPos: {
          grow: 1,
          shrink: 1,
          layout: 'FLEX',
        },
        id: 'view_content',
      },
    ],
    layoutPanel: true,
    appViewEngines: [
      {
        engineCat: 'VIEW',
        engineType: 'GridView',
        id: 'engine',
      },
    ],
    appViewLogics: [
      {
        logicTrigger: 'CUSTOM',
        logicType: 'APPUILOGIC',
        builtinAppUILogic: {
          actionAfterWizard: 'DEFAULT',
          newDataAppView: {
            refAppViewId: 'web.psde_logic_edit_view',
          },
          appUILogicRefViews: [
            {
              refAppViewId: 'web.psde_logic_edit_view',
            },
          ],
          builtinLogic: true,
          logicType: 'PREDEFINED',
          viewLogicType: 'APP_NEWDATA',
          id: '新建数据',
        },
        builtinLogic: true,
        id: 'newdata',
      },
      {
        logicTrigger: 'CUSTOM',
        logicType: 'APPUILOGIC',
        builtinAppUILogic: {
          openDataAppView: {
            refAppViewId: 'web.psde_logic_redirect_view',
          },
          editMode: true,
          appUILogicRefViews: [
            {
              refAppViewId: 'web.psde_logic_redirect_view',
            },
          ],
          builtinLogic: true,
          logicType: 'PREDEFINED',
          viewLogicType: 'APP_OPENDATA',
          id: '打开数据',
        },
        builtinLogic: true,
        id: 'opendata',
      },
    ],
    appViewRefs: [
      {
        realTitle: '实体处理逻辑数据重定向视图',
        refAppViewId: 'web.psde_logic_redirect_view',
        name: 'EDITDATA',
        id: 'editdata',
      },
      {
        realTitle: '实体处理逻辑编辑视图',
        refAppViewId: 'web.psde_logic_edit_view',
        name: 'NEWDATA',
        id: 'newdata',
      },
    ],
    controls: [
      {
        xdataControlName: 'grid',
        codeName: 'all_log_grid_view_toolbar',
        controlType: 'TOOLBAR',
        logicName: '全部日志_工具栏',
        appDataEntityId: 'web.psdelogic',
        controlParam: {
          id: 'toolbar',
        },
        modelId: 'e3b6c28988a3595fd7b28bea9b749eee',
        modelType: 'PSDETOOLBAR',
        name: 'toolbar',
        id: 'all_log_grid_view_toolbar',
      },
      {
        aggMode: 'NONE',
        columnEnableFilter: 2,
        columnEnableLink: 2,
        groupMode: 'NONE',
        groupStyle: 'DEFAULT',
        degridColumns: [
          {
            clconvertMode: 'NONE',
            dataItemName: 'start_at',
            excelCaption: '起始时间',
            appDEFieldId: 'start_at',
            valueFormat: 'YYYY-MM-DD HH:mm:ss',
            valueType: 'SIMPLE',
            aggMode: 'NONE',
            align: 'LEFT',
            caption: '起始时间',
            codeName: 'start_at',
            columnType: 'DEFGRIDCOLUMN',
            noPrivDisplayMode: 1,
            width: 200,
            widthUnit: 'STAR',
            enableSort: true,
            id: 'start_at',
          },
          {
            clconvertMode: 'FRONT',
            dataItemName: 'state',
            excelCaption: '状态',
            appCodeListId: 'web.extension__log_state',
            appDEFieldId: 'state',
            deuiactionGroup: {
              uiactionGroupDetails: [
                {
                  actionLevel: 200,
                  afterItemType: 'NONE',
                  beforeItemType: 'NONE',
                  buttonStyle: 'DEFAULT',
                  caption: '详情',
                  detailType: 'DEUIACTION',
                  uiactionId: 'open_info_view@extend_log',
                  showCaption: true,
                  showIcon: true,
                  id: 'u0c56ad6',
                },
              ],
              appDataEntityId: 'web.extend_log',
              uniqueTag: 'extend_log__Usr0126003239',
              name: '界面行为组',
              id: 'usr0126003239',
            },
            valueType: 'SIMPLE',
            aggMode: 'NONE',
            align: 'LEFT',
            caption: '状态',
            codeName: 'state',
            columnType: 'DEFGRIDCOLUMN',
            noPrivDisplayMode: 1,
            width: 200,
            widthUnit: 'PX',
            enableSort: true,
            id: 'state',
          },
          {
            clconvertMode: 'NONE',
            dataItemName: 'elapsed_time',
            excelCaption: '持续时间（ms）',
            appDEFieldId: 'elapsed_time',
            valueType: 'SIMPLE',
            aggMode: 'NONE',
            align: 'LEFT',
            caption: '持续时间（ms）',
            codeName: 'elapsed_time',
            columnType: 'DEFGRIDCOLUMN',
            noPrivDisplayMode: 1,
            width: 200,
            widthUnit: 'PX',
            enableSort: true,
            id: 'elapsed_time',
          },
        ],
        degridDataItems: [
          {
            format: 'YYYY-MM-DD HH:mm:ss',
            appDEFieldId: 'start_at',
            valueType: 'SIMPLE',
            dataType: 5,
            id: 'start_at',
          },
          {
            appDEFieldId: 'state',
            valueType: 'SIMPLE',
            dataType: 25,
            id: 'state',
          },
          {
            appDEFieldId: 'elapsed_time',
            valueType: 'SIMPLE',
            dataType: 9,
            id: 'elapsed_time',
          },
          {
            appDEFieldId: 'id',
            valueType: 'SIMPLE',
            dataType: 25,
            id: 'srfkey',
          },
          {
            appDEFieldId: 'id',
            valueType: 'SIMPLE',
            dataType: 25,
            id: 'srfdataaccaction',
          },
          {
            appDEFieldId: 'name',
            valueType: 'SIMPLE',
            dataType: 25,
            id: 'srfmajortext',
          },
        ],
        degridEditItems: [
          {
            caption: '标识',
            codeName: 'srfkey',
            enableCond: 3,
            appDEFieldId: 'id',
            editor: {
              editorType: 'HIDDEN',
              valueType: 'SIMPLE',
              editable: true,
              id: 'srfkey',
            },
            allowEmpty: true,
            id: 'srfkey',
          },
        ],
        pagingMode: 1,
        pagingSize: 20,
        sortMode: 'REMOTE',
        enableCustomized: true,
        enablePagingBar: true,
        singleSelect: true,
        navViewPos: 'NONE',
        fetchControlAction: {
          appDEMethodId: 'fetch_default',
          appDataEntityId: 'web.extend_log',
          id: 'fetch',
        },
        controlNavParams: [
          {
            key: 'n_owner_subtype_eq',
            value: 'PSDELOGIC',
            rawValue: true,
            id: 'n_owner_subtype_eq',
          },
          {
            key: 'sort',
            value: 'start_at,desc',
            rawValue: true,
            id: 'sort',
          },
          {
            key: 'n_owner_id_eq',
            value: 'psdelogic',
            id: 'n_owner_id_eq',
          },
        ],
        removeControlAction: {
          appDEMethodId: 'remove',
          appDataEntityId: 'web.extend_log',
          id: 'remove',
        },
        autoLoad: true,
        showBusyIndicator: true,
        codeName: 'all_log_grid',
        controlType: 'GRID',
        logicName: '全部日志表格',
        appDataEntityId: 'web.extend_log',
        controlParam: {
          ctrlParams: {
            'SRFNAVPARAM.N_OWNER_SUBTYPE_EQ': 'PSDELOGIC',
            'SRFNAVPARAM.SORT': 'start_at,desc',
            'SRFNAVPARAM.N_OWNER_ID_EQ': '%psdelogic%',
          },
          id: 'grid',
        },
        modelId: 'd5089abd6eefbe248f7a1d354251a021',
        modelType: 'PSDEGRID',
        name: 'grid',
        id: 'web.extend_log.all_log_grid',
      },
      {
        groupMode: 'SINGLE',
        quickSearchMode: 1,
        enableQuickSearch: true,
        controlType: 'SEARCHBAR',
        appDataEntityId: 'web.psdelogic',
        controlParam: {
          id: 'searchbar',
        },
        id: 'searchbar',
      },
      {
        caption: '全部日志',
        codeName: 'all_log_grid_view_captionbar',
        controlType: 'CAPTIONBAR',
        appDataEntityId: 'web.psdelogic',
        controlParam: {},
        name: 'captionbar',
        id: 'all_log_grid_view_captionbar',
      },
    ],
    codeName: 'usr0729601274',
    controlType: 'VIEWLAYOUTPANEL',
    logicName: 'all_log_grid_view表格视图布局',
    appDataEntityId: 'web.psdelogic',
    controlParam: {},
    modelId: '0b2061d336c1001af8cae3cb63040e5f',
    modelType: 'PSSYSVIEWLAYOUTPANEL',
    name: 'layoutpanel',
    id: 'usr0729601274',
  },
  title: '全部日志',
  viewStyle: 'DEFAULT',
  viewType: 'DEGRIDVIEW',
  width: 68,
  enableDP: true,
  showCaptionBar: true,
  modelId: '7961882213154dfaa17f037b5c55e1b9',
  modelType: 'PSAPPDEVIEW',
  name: 'PSDELogicall_log_grid_view',
  id: 'web.psde_logic_all_log_grid_view',
};
